#include<stdio.h>
int main()
{
	int n = 10, s = 0;
	for (int i = n-1; i > 0; i-- ) 
	{
      s = s + i;
	}
    printf("%d\n", s);
	
}